a = [12, 45, 45, 97, 156, 487]
b = [98, 56, 55, 33, 48, 995]
a = a + b
# 遍历替换排序
for i in range(len(a) ):
    for j in range(i+1,len(a)):
        if a[i] < a[j]:
            a[i], a[j] = a[j], a[i]
print(a)

# 用函数排序
a.sort()
a.reverse()
print(a)